﻿<phone:PhoneApplicationPage 
    x:Class="OnlineVideos.Views.CastPanorama"
   xmlns:wb="clr-namespace:OnlineVideos"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
     xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
       xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
     xmlns:LART="clr-namespace:OnlineVideos"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
     mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="False" 
    Loaded="PhoneApplicationPage_Loaded">
    <phone:PhoneApplicationPage.Resources>
    <ItemsPanelTemplate x:Key="ItemsPanelTemplate1">
        <toolkit:WrapPanel/>
    </ItemsPanelTemplate>
    </phone:PhoneApplicationPage.Resources>
    <Grid>
  
        <!--<StackPanel Background="Transparent" >-->
            <!--LayoutRoot contains the root grid where all other page content is placed-->
    <Grid x:Name="LayoutRoot">
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="80"/>
            </Grid.RowDefinitions>
      <phone:Panorama  x:Name="PersonPanorama">
        <phone:Panorama.Foreground>
                white
            </phone:Panorama.Foreground>
        <phone:Panorama.Title>
                    <StackPanel Margin="0,50,0,0" Orientation="Horizontal" Height="150">
                        <TextBlock x:Name="CastPanoramaTitle" FontSize="65" FontFamily="Segoe WP"  FontWeight="SemiBold" VerticalAlignment="Center" HorizontalAlignment="Right" Foreground="White"/>
                    </StackPanel>
                </phone:Panorama.Title>

                <!--Panorama item one-->
        <phone:PanoramaItem x:Name="pvtbiograph"  Margin="0,-30,0,0">
          <phone:PanoramaItem.Header>
                    <ContentControl>
                            <StackPanel Orientation="Horizontal">
                                <TextBlock x:Name="txtbioTitle" Text="biography"></TextBlock>
                                <Image x:Name="ToggleBackground"  Margin="30,20,0,0"  Source="/Images/appbar.sync.rest.png"  Width="48" Height="48" MouseLeftButtonDown="ToggleBackground_Click" ></Image>
                                <Image x:Name="imageSpeech" Visibility="Collapsed"  Margin="10,20,0,0"  Source="/Images/StartSpeech.png"  Width="60" Height="60" MouseLeftButtonDown="imageSpeech_Click" ></Image>

                            </StackPanel>
                        </ContentControl>
                </phone:PanoramaItem.Header>
                <Grid x:Name="PersonPanoramaGrid">
                 <LART:PersonDetail></LART:PersonDetail>
                </Grid>
            </phone:PanoramaItem>

            <!--Panorama item two-->
        <phone:PanoramaItem  Margin="0,-30,0,0">
          <phone:PanoramaItem.Header>
                    <ContentControl>
                            <TextBlock Text="gallery"></TextBlock>
                            <!--<TextBlock Text="gallery" Style="{StaticResource CastPanoramaTitle}"></TextBlock>-->
                    </ContentControl>
                </phone:PanoramaItem.Header>
                    <Grid x:Name="GalleryGrid">
           <LART:PersonGallery x:Name="Persongal"></LART:PersonGallery>
                  
              </Grid>
                   
            </phone:PanoramaItem>
            
            <!--Panorama item three-->
        <phone:PanoramaItem  x:Name="pvtitmmovies" Margin="0,-30,0,0">
          <phone:PanoramaItem.Header>
                    <ContentControl>
                            <TextBlock x:Name="tblkMoviesHeader" Text="movies"></TextBlock>
                    </ContentControl>
                </phone:PanoramaItem.Header>
                    <Grid x:Name="MovieGrid" >
                      <LART:PersonProfileShows></LART:PersonProfileShows>
                    </Grid>
                </phone:PanoramaItem>
        </phone:Panorama>
            <StackPanel Name="adstackPsnProfile" Grid.Row="1" Orientation="Vertical"  Margin="0,0,-12,0">
            </StackPanel>
        </Grid>
    <!--</StackPanel>-->
    
    <!--Panorama-based applications should not show an ApplicationBar-->

       
        <toolkit:PerformanceProgressBar
            VerticalAlignment="Top"
            x:Name="_performanceProgressBar" Foreground="Red"/>
    </Grid>
</phone:PhoneApplicationPage>